package com.material.common.wx.consts;

/**
 * @author ganxinge
 */
public enum  EventConst {

    /**
     * 订单支付成功
     */
    channels_ec_order_pay("订单支付成功");

    private final String description;

    EventConst(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        return "EventConst{" +
                "name='" + name() + '\'' +
                ", description='" + description + '\'' +
                '}';
    }

    public static void main(String[] args) {
        EventConst orderPay = EventConst.channels_ec_order_pay;
        System.out.println(orderPay.name());
    }
}
